package com.pactera.madp.cp.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.pactera.madp.cp.api.entity.AddCustomerEntity;
import com.pactera.madp.cp.api.vo.AddCustomerVO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * (CpAddCustomer)表数据库访问层
 *
 * @author yushen.qi
 * @since 2022-01-11 18:17:23
 */
public interface AddCustomerMapper extends BaseMapper<AddCustomerEntity> {

    Integer getCountByDeptsAndState(@Param("deptIds") List<Integer> deptIds, @Param("state") String state);

    List<AddCustomerVO> list0(@Param("limitStart") Long limitStart, @Param("size") Long size, @Param("state") String state);

}
